﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FangDuShi_Admin.Common
{
    /// <summary>
    /// 全局变量
    /// </summary>
    public class GlobalConstant
    {
        ///// <summary>
        ///// 密钥加密串值
        ///// </summary>
        public const string GLOBAL_ENCRYPTVALUE = "elingsoft";
        /// <summary>
        /// 登录ID变量名
        /// </summary>
        public static readonly string PARAM_LOGINID = "LoginID";
        /// <summary>
        /// 登录部门编号变量名
        /// </summary>
        public static readonly string PARAM_USERNAME = "UserName";
        /// <summary>
        /// 当前建立连接的对象(一个对象多个连接)
        /// </summary>
        public static Dictionary<string, List<string>> CLIENT_LIST = new Dictionary<string, List<string>>();
        /// <summary>
        /// 当前建立连接的对象的对应session的值列表
        /// </summary>
        public static Dictionary<string, string> SESSION_USER_LIST = new Dictionary<string, string>();
    }
}